<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:decorate template="/resources/template/modelo.xhtml">
        <ui:define name="centro">
            <f:view encoding="ISO-8859-1">  
                <h:form>
                    <p:panel  header="Removoção de Anais:" style="margin-bottom:10px;">  

                        <h:panelGrid columns="2">

                            <h:outputText value="Local do Evento" />
                            <h:outputText value="#{anaisBean.anal.titulo}" />
                            <h:outputText value="País: " />
                            <h:outputText value="#{anaisBean.anal.paisPublicacao}"/>
                            <h:outputText value="Estado: " />
                            <h:outputText value="#{anaisBean.anal.ufPublicacao}"/>
                            <h:outputText value="Cidade: " />
                            <h:outputText value="#{anaisBean.anal.cidadePublicacao}" />  
                            <h:outputText value="Data Início: " />
                            <h:outputText value="#{anaisBean.anal.dataInicio}" >
                                <f:convertDateTime type="date" pattern="dd-MM-yyyy"/>
                            </h:outputText>
                            <h:outputText value="Data Fim: " />
                            <h:outputText value="#{anaisBean.anal.dataFim}" >
                                <f:convertDateTime type="date" pattern="dd-MM-yyyy"/>
                            </h:outputText>


                            <p:commandButton value="Remover" action="#{anaisBean.removerAnal()}" ajax="false"  />  
                            <p:commandButton value="Cancelar" actionListener="#{anaisBean.novoAnais}" action="/cadastros/obras/anais/listar/listarAnais.xhtml"  immediate="true" ajax="false"  />  
                        </h:panelGrid>  
                    </p:panel>
                </h:form>    
            </f:view>  
        </ui:define>
    </ui:decorate>
</html>